{extend name="public:_base" /}
{block name="main"}
<div class="page-container">

    <form action="{:url('massage/save')}" method="post" class="form form-horizontal"
          id="form">
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">
                <span class="c-red">*</span>
                标题：</label>
            <div class="formControls col-xs-9 col-sm-9">
                <input type="text" class="input-text" value="{$data.title ?? ''}" placeholder="标题..."
                       name="title">
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">
                <span class="c-red">*</span>
                留言信息：</label>
            <div class="formControls col-xs-9 col-sm-9">
                <textarea name="center1" cols="" rows="" class="textarea" placeholder="说点什么..."
                          datatype="*10-100" dragonfly="true" nullmsg="备注不能为空！">{$data.center ?? ''}</textarea>
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">
                <span class="c-red">*</span>
                昵称：</label>
            <div class="formControls col-xs-9 col-sm-9">
                <input type="text" class="input-text" value="{$data.name ?? ''}" placeholder="你的称呼"
                       name="name">
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">
                <span class="c-red">*</span>
                联系电话：</label>
            <div class="formControls col-xs-9 col-sm-9">
                <input type="number" class="input-text" value="{$data.tel ?? ''}" placeholder="联系电话"
                       name="tel">
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">
                <span class="c-red">*</span>
                QQ：</label>
            <div class="formControls col-xs-9 col-sm-9">
                <input type="number" class="input-text" value="{$data.QQ ?? ''}" placeholder="QQ号码"
                       name="QQ">
            </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">
                <span class="c-red">*</span>
                邮箱：</label>
            <div class="formControls col-xs-9 col-sm-9">
                <input type="email" class="input-text" value="{$data.mail ?? ''}" placeholder="电子邮箱"
                       name="mail">
            </div>
        </div>

    </form>
</div>
{/block}
